package com.yenlien.traceyun.business.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by LiuSha on 2020/7/28.
 * 仓库
 */
@Entity
@Table(name = "t_warehouse")
public class Warehouse extends TraceEntity {

    @Column(name = "name", length = 50)
    private String name;//仓库名称

    /**
     * 管理员id
     */
    @Column(name = "u_id", length = 32)
    private String uid;

    /**
     * 管理员名称
     */
    @Column(name = "u_name", length = 10)
    private String uname;

    /**
     * 基地id
     */
    @Column(name = "basesoil_id", length = 32)
    private String basesoilId;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getBasesoilId() {
        return basesoilId;
    }

    public void setBasesoilId(String basesoilId) {
        this.basesoilId = basesoilId;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }
}
